package oboe.controllers;

import flash.utils.Dictionary;

import oboe.core.SigSlotCollection;

class Collection extends SigSlotCollection
{
public function new(weakKeys:Bool=true)
{
	super(weakKeys);
}

public function add( c:SigSlotCollection ):Void
{
	this.addChild( c );
}

public function remove( c:SigSlotCollection ):Void
{
	this.removeChild( c );
}

public override function message(name:String, ...arguments):Void
{
	this.signalDownEx( name, arguments );
}

public override function messageEx(name:String, arguments:Array):Void
{
	this.signalDownEx( name, arguments );
}

public function getItems():Dictionary
{
	return this._getSigSlotChildren();
}
}